

package com.hexinfo.dmpro.dev.data.transfer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hexinfo.dmpro.common.base.PageResult;
import com.hexinfo.dmpro.dev.data.transfer.model.DesensitizeFieldMap;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Package com.hexinfo.dmpro.dev.data.transfer.service
 * @ClassName IDesensitizeFieldMapService
 * @Description 脱敏字段映射表
 * @Author Wang zhihao
 * @Date 2024/1/2 16:05
 * @Version v1.0
 **/
public interface IDesensitizeFieldMapService extends IService<DesensitizeFieldMap> {

    /**
     * @Method queryList
     * @Param
     * @param page
     * @param desensitizeFieldMap
     * @Return com.hexinfo.dmpro.common.base.PageResult
     * @Description 分页查询
     * @Author Wang zhihao
     * @Date 2024/1/4 17:07
     * @Version V1.0
     */
    PageResult queryList(Page page, DesensitizeFieldMap desensitizeFieldMap);

    /**
     * @Method queryListNoPage
     * @Param
     * @param desensitizeFieldMap
     * @Return java.util.List<com.hexinfo.dmpro.dev.data.transfer.model.DesensitizeFieldMap>
     * @Description 不分页查询
     * @Author Wang zhihao
     * @Date 2024/1/5 11:18
     * @Version V1.0
     */
    List<DesensitizeFieldMap> queryListNoPage(DesensitizeFieldMap desensitizeFieldMap);

    /**
     * @Method removeByIds
     * @Param
     * @param ids
     * @Return boolean
     * @Description 批量删除
     * @Author Wang zhihao
     * @Date 2024/1/4 17:07
     * @Version V1.0
     */
    boolean removeByIds(List<String> ids);

    /**
     * @Method removeByFunctionIds
     * @Param
     * @param ids
     * @Return boolean
     * @Description 根据脱敏函数ID删除脱敏字段配置表
     * @Author Wang zhihao
     * @Date 2024/1/4 17:06
     * @Version V1.0
     */
    boolean removeByFunctionIds(List<String> ids);
}
